package com.wfs.myapp.remote.wx.vo;

import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class BaiduTalkAiVo {
    // fail
    private Integer error_code;
    private String error_msg;

    // success
    private String id;
    private String object;
    private long created;
    private String result;
    private boolean is_truncated;
    private boolean need_clear_history;
    private String finish_reason;
    private Usage usage;

    @Data
    @ToString
    public static class Usage {
        private Integer prompt_tokens;
        private Integer completion_tokens;
        private Integer total_tokens;
    }
}
